const { ElementPlusResolver } = require('unplugin-vue-components/resolvers')

module.exports = {
    outputDir: '../resource',
    publicPath: './',
    pages: {
        radios: {
            entry: './src/radios.js'
        },
        city: {
            entry: './src/city.js'
        },
        calculator: {
            entry: './src/calculator.js'
        },
        table: {
            entry: './src/table.js'
        },
    },
    configureWebpack: {
        plugins: [
            require('unplugin-auto-import/webpack')({
                resolvers: [ElementPlusResolver()]
            }),
            require('unplugin-vue-components/webpack')({
                resolvers: [ElementPlusResolver()]
            }),
        ],
    }
}
